package com.fire.control.system.support.protocol;

import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

import com.fire.control.system.statics.Status_Warning;
import com.fire.control.system.statics.Type_MessageTarget;
import com.fire.control.system.statics.Type_Solution;
import com.fire.control.system.support.protocol.comman.PageProtocol;

public class DeviceRequestProtocol extends PageProtocol {

	private static final long serialVersionUID = 1L;
	
	private String[] ids;
	
	private String searchKey;
	
	// 设备id
	private String id;
	// 设备名称
	private String deviceName;
	// 设备类型
	private String deviceType;
	// 设备编号
	private String serialNumber;
	// 设备位置
	private String address;
	// 设备详细地址
	private String location;
	// 经度
	private Double longitude;
	// 维度
	private Double latitude;
	// 最大楼层   
	private Integer floorMax;
	// 所在楼层
	private Integer floor;
	// 状态
	private Boolean status;
	// 设备组名称
	private String groupName;
	// 设备组id
	private String groupId;
	// 用户id
	private String userId;
	// 负责人姓名
	private String manager;
	// 联系方式
	private String telNumber;
	// 公司id
	private String companyId;	
	// 描述
	private String description;
	// 处理描述
	private String solutionDesc;
	// 处理人
	private String trustees;
	// 处理方式
	private Type_Solution solutionType;

	// 当前状态
	private Status_Warning currentStatus;
	private Date startTime;
	private Date endTime;
	
	// 优先级名称
	private String levelName;
	// 优先级描述
	private String levelDesc;
	// 优先级
	private Integer level;
	// 时间设置（单位/秒）
	private Integer timeSet;
	
	// 报警类型
	private String warningType;
	// 消息推送类型
	private Type_MessageTarget messageTargetType;
	// 描述
	private String messagePushDesc;
	// 是否发送责任人
	private Boolean sendPersonLiable;
	// 是否发送设备序列号
	private Boolean sendDeviceSerialNumber;
	// 是否发送设备名称
	private Boolean sendDeviceName;
	// 是否发送网关号  
	private Boolean sendGatewayNumber;
	// 是否发送网关名
	private Boolean sendGatewayName;
	// 是否发送组名
	private Boolean sendGroupName;
	// 是否发送设备地址
	private Boolean sendDeviceAddress;
	
	// 文件类型
	private MultipartFile file1;
	// 文件类型
	private MultipartFile file2;
	
	
	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getManager() {
		return manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	public String getTelNumber() {
		return telNumber;
	}

	public void setTelNumber(String telNumber) {
		this.telNumber = telNumber;
	}

	public Integer getFloorMax() {
		return floorMax;
	}

	public void setFloorMax(Integer floorMax) {
		this.floorMax = floorMax;
	}

	public Integer getFloor() {
		return floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}

	public MultipartFile getFile1() {
		return file1;
	}

	public void setFile1(MultipartFile file1) {
		this.file1 = file1;
	}

	public MultipartFile getFile2() {
		return file2;
	}

	public void setFile2(MultipartFile file2) {
		this.file2 = file2;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public String getSearchKey() {
		return searchKey;
	}

	public void setSearchKey(String searchKey) {
		this.searchKey = searchKey;
	}

	public String getWarningType() {
		return warningType;
	}

	public void setWarningType(String warningType) {
		this.warningType = warningType;
	}

	public Type_MessageTarget getMessageTargetType() {
		return messageTargetType;
	}

	public void setMessageTargetType(Type_MessageTarget messageTargetType) {
		this.messageTargetType = messageTargetType;
	}

	public String getMessagePushDesc() {
		return messagePushDesc;
	}

	public void setMessagePushDesc(String messagePushDesc) {
		this.messagePushDesc = messagePushDesc;
	}

	public Boolean getSendPersonLiable() {
		return sendPersonLiable;
	}

	public void setSendPersonLiable(Boolean sendPersonLiable) {
		this.sendPersonLiable = sendPersonLiable;
	}

	public Boolean getSendDeviceSerialNumber() {
		return sendDeviceSerialNumber;
	}

	public void setSendDeviceSerialNumber(Boolean sendDeviceSerialNumber) {
		this.sendDeviceSerialNumber = sendDeviceSerialNumber;
	}

	public Boolean getSendDeviceName() {
		return sendDeviceName;
	}

	public void setSendDeviceName(Boolean sendDeviceName) {
		this.sendDeviceName = sendDeviceName;
	}

	public Boolean getSendGatewayNumber() {
		return sendGatewayNumber;
	}

	public void setSendGatewayNumber(Boolean sendGatewayNumber) {
		this.sendGatewayNumber = sendGatewayNumber;
	}

	public Boolean getSendGatewayName() {
		return sendGatewayName;
	}

	public void setSendGatewayName(Boolean sendGatewayName) {
		this.sendGatewayName = sendGatewayName;
	}

	public Boolean getSendGroupName() {
		return sendGroupName;
	}

	public void setSendGroupName(Boolean sendGroupName) {
		this.sendGroupName = sendGroupName;
	}

	public Boolean getSendDeviceAddress() {
		return sendDeviceAddress;
	}

	public void setSendDeviceAddress(Boolean sendDeviceAddress) {
		this.sendDeviceAddress = sendDeviceAddress;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	public String getLevelDesc() {
		return levelDesc;
	}

	public void setLevelDesc(String levelDesc) {
		this.levelDesc = levelDesc;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getTimeSet() {
		return timeSet;
	}

	public void setTimeSet(Integer timeSet) {
		this.timeSet = timeSet;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getSolutionDesc() {
		return solutionDesc;
	}

	public void setSolutionDesc(String solutionDesc) {
		this.solutionDesc = solutionDesc;
	}

	public String getTrustees() {
		return trustees;
	}

	public void setTrustees(String trustees) {
		this.trustees = trustees;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public Status_Warning getCurrentStatus() {
		return currentStatus;
	}

	public void setCurrentStatus(Status_Warning currentStatus) {
		this.currentStatus = currentStatus;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Type_Solution getSolutionType() {
		return solutionType;
	}

	public void setSolutionType(Type_Solution solutionType) {
		this.solutionType = solutionType;
	}
	
}
